package com.zz.parkingsystem.service.impl;

import com.zz.parkingsystem.entity.Dept;
import com.zz.parkingsystem.mapper.DeptMapper;
import com.zz.parkingsystem.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wangyuxiang
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Resource
    private DeptMapper deptMapper;

    @Override
    public List<Dept> queryAllDept() {
        return deptMapper.queryAllDept();
    }
}
